/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * @author luosisi
 * Date: 2010-7-5 上午10:34:45
 */
package com.ccxe.manage.dao;

import java.util.List;


import com.ccxe.manage.model.CustomerBean;

/**
 * @author luosisi
 * customer的增、删、改、查 操作
 */
public abstract class CustomerDAO extends AbstractPageDao{
	
	public abstract CustomerBean getById(String cid);
	
	public abstract int addCustormer(CustomerBean customer);
	
	public abstract int deleteCustomer(String cid);
	
	public abstract int updateCustomer(CustomerBean c);
	
	/**
	 * 根据公司ID或公司名称模糊查询
	 * @param cid 公司ID或公司名称
	 * @return
	 */
	public abstract List<CustomerBean> getByCondition(String cid);
	

}
